AddRangeToFront Method (IEnumerable)

Wintellect PowerCollections

Collapse imageExpand ImageCollapseAll imageExpandAll imageDropDown imageDropDownHover imageCopy imageCopyHover image
[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]

Adds a collection of items to the front of BigList. The indices of all existing items in the are increased by the number of items in collection. The first item in the added collection becomes the first item in the BigList.

Namespace: Wintellect.PowerCollections
Assembly:  PowerCollections (in PowerCollections.dll)

Syntax

C#
public void AddRangeToFront(
	IEnumerable<T> collection
)
Visual Basic (Declaration)
Public Sub AddRangeToFront ( _
	collection As IEnumerable(Of T) _
)
Visual C++
public:
void AddRangeToFront (
	IEnumerable<T>^ collection
)

Parameters

collection
IEnumerable<(Of <T>)>
The collection of items to add.

Remarks

This method takes time O(M + log N), where M is the number of items in the collection, and N is the size of the BigList.

Exceptions

ExceptionCondition
System..::ArgumentNullExceptioncollection is null.

See Also